<%--
  Created by IntelliJ IDEA.
  User: Somnus远哥
  Date: 2021/9/22
  Time: 15:41
  To change this template use File | Settings | File Templates.
--%>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>送货地址</title>

    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/Popt.js"></script>
    <script type="text/javascript" src="js/city.json.js"></script>
    <script type="text/javascript" src="js/citySet.js"></script>

    <%--<link type="text/css" href="css/city.css">--%>
    <style type="text/css">
        * {
            word-wrap: break-word;
        }
        .wrap {
            width: 100px;
            height: 30px;
            margin: 200px auto;
            border: 0;
            position: relative;
        }

        .input {
            position: relative;
            top: 0;
            left: 0;
            width: 180px;
            margin: 0;
            padding-left: 5px;
            height: 30px;
            line-height: 30px;
            font-size: 12px;
            border: 1px solid #c9cacb;
        }

        ._citys {
            width: 450px;
            display: inline-block;
            border: 2px solid #eee;
            padding: 5px;
            position: relative;
            background-color: #fefefe;
        }

        ._citys span {
            color: #FE6732;
            height: 15px;
            width: 15px;
            line-height: 15px;
            text-align: center;
            border-radius: 3px;
            position: absolute;
            right: 10px;
            top: 10px;
            border: 1px solid #FE6732;
            cursor: pointer;
        }

        ._citys0 {
            width: 95%;
            height: 34px;
            line-height: 34px;
            display: inline-block;
            border-bottom: 2px solid #FE6732;
            padding: 0px 5px;
            font-size: 14px;
            font-weight: bold;
            margin-left: 6px;
            color: #444;

        }

        ._citys0 li {
            display: inline-block;
            line-height: 34px;
            font-size: 15px;
            color: #888;
            width: 80px;
            text-align: center;
            cursor: pointer;
        }

        ._citys1 {
            width: 100%;
            display: inline-block;
            padding: 10px 0;
        }

        ._citys1 a {
            width: 83px;
            height: 35px;
            display: inline-block;
            background-color: #f5f5f5;
            color: #666;
            margin-left: 6px;
            margin-top: 3px;
            line-height: 35px;
            text-align: center;
            cursor: pointer;
            font-size: 12px;
            border-radius: 5px;
            overflow: hidden;
        }

        ._citys1 a:hover {
            color: #fff;
            background-color: #FE6732;
        }

        .AreaS {
            background-color: #FE6732 !important;
            color: #fff !important;
        }
        #addr2{
            font-family: "微软雅黑";
        }
    </style>

</head>
<body>

<div class="wrap">
    <form action="1.html" method="get">
        送货地址：
        <input class="input" id="city" type="text" placeholder="请选择" autocomplete="off" readonly="true" />
        <textarea rows="10" cols="40" name="addr2" id="addr2" placeholder="详细地址"></textarea>
        <!-- <input type="text" id="" value="" name="username"/> -->
        <input type="submit" value="提交"/><button type="button" id="button">测试</button>
    </form>
</div>

<script type="text/javascript">
    $("#button").click(function(){
        alert($("#city").val() + "/" + $("#addr2").val());
    });
    $("#city").click(function(e) {
        SelCity(this, e);
    });
</script>

</body>
</html>

